<h2>cargo List</h2>

<div class="actionBar">
[<?php echo CHtml::link('New cargo',array('create')); ?>]
[<?php echo CHtml::link('Manage cargo',array('admin')); ?>]
</div>

<?php $this->widget('CLinkPager',array('pages'=>$pages)); ?>

<?php foreach($models as $n=>$model): ?>
<div class="item">
<?php echo CHtml::encode($model->getAttributeLabel('id')); ?>:
<?php echo CHtml::link($model->id,array('show','id'=>$model->id)); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('ref_no')); ?>:
<?php echo CHtml::encode($model->ref_no); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('in_date')); ?>:
<?php echo CHtml::encode($model->in_date); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('out_date')); ?>:
<?php echo CHtml::encode($model->out_date); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('qty')); ?>:
<?php echo CHtml::encode($model->qty); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('wt')); ?>:
<?php echo CHtml::encode($model->wt); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('m3')); ?>:
<?php echo CHtml::encode($model->m3); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('con_id')); ?>:
<?php echo CHtml::encode($model->con_id); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('cus_id')); ?>:
<?php echo CHtml::encode($model->cus_id); ?>
<br/>

</div>
<?php endforeach; ?>
<br/>
<?php $this->widget('CLinkPager',array('pages'=>$pages)); ?>